package com.edu.exam.enums.examination.paper;

/**
 * 压缩格式枚举
 *
 * 从SegmentedImage实体类中提取的独立枚举
 *
 * @author System
 * @version 1.0.0
 */
public enum CompressionFormat {
    NONE("无压缩"),
    ZIP("ZIP"),
    GZIP("GZIP"),
    BZIP2("BZIP2"),
    XZ("XZ"),
    LZMA("LZMA"),
    LZ4("LZ4"),
    LZOP("LZOP"),
    ZSTD("ZSTD"),
    BROTLI("Brotli"),
    LZF("LZF"),
    LZO("LZO"),
    RLE("RLE"),
    HUFFMAN("霍夫曼编码"),
    ARITHMETIC("算术编码"),
    DEFLATE("Deflate"),
    INFLATE("Inflate"),
    LZ77("LZ77"),
    LZ78("LZ78"),
    LZW("LZW"),
    JPEG("JPEG"),
    PNG("PNG"),
    GIF("GIF"),
    TIFF("TIFF"),
    WEBP("WebP"),
    AVIF("AVIF"),
    HEIC("HEIC"),
    HEIF("HEIF"),
    JXL("JXL"),
    BROTLI_GZIP("Brotli-GZIP"),
    BROTLI_RAW("Brotli-Raw"),
    ZLIB("Zlib"),
    ZLIB_GZIP("Zlib-GZIP"),
    ZLIB_RAW("Zlib-Raw"),
    TAR("Tar"),
    TAR_GZIP("Tar-Gzip"),
    TAR_BZIP2("Tar-Bzip2"),
    TAR_XZ("Tar-XZ"),
    TAR_LZMA("Tar-Lzma"),
    TAR_LZ4("Tar-Lz4"),
    TAR_ZSTD("Tar-Zstd"),
    TAR_BROTLI("Tar-Brotli"),
    SEVEN_Z("7-Z"),
    RAR("RAR"),
    ACE("ACE"),
    ARJ("ARJ"),
    CAB("CAB"),
    ISO("ISO"),
    IMG("IMG"),
    VHD("VHD"),
    VMDK("VMDK"),
    VDI("VDI"),
    QED("QED"),
    QCOW("QCOW"),
    QCOW2("QCOW2"),
    VDI_VMDK("VDI-VMDK"),
    OVA("OVA"),
    OVF("OVF"),
    APFS("APFS"),
    HFS("HFS"),
    HFS_PLUS("HFS+"),
    NTFS("NTFS"),
    FAT32("FAT32"),
    EXFAT("exFAT"),
    EXT2("EXT2"),
    EXT3("EXT3"),
    EXT4("EXT4"),
    BTRFS("Btrfs"),
    XFS("XFS"),
    ZFS("ZFS"),
    REISERFS("ReiserFS"),
    JFS("JFS"),
    NILFS("NILFS"),
    F2FS("F2FS"),
    MINIX("Minix"),
    UFS("UFS"),
    UFS2("UFS2");

    private final String description;

    CompressionFormat(String description) {
        this.description = description;
    }

    public String getDescription() {
        return description;
    }

    /**
     * 获取显示名称（中文）
     *
     * @return 中文显示名称
     */
    public String getDisplayName() {
        return description;
    }
}